package base_demo.movieTest;

public class Demo {
    public static void main(String[] args) {
        //电影院两个窗口买票1000张
        MyThread t1  = new MyThread();
        MyThread t2  = new MyThread();

        t1.setName("窗口1");
        t2.setName("窗口2");

        t1.start();
        t2.start();

    }
}
